<link href="{{ clickheat_path }}/styles/piwik.css" rel="stylesheet" />
<script type="text/javascript" src="{{ clickheat_path }}js/admin.js"></script>
<div id="contenu">
	<span id="cleaner"></span>
	
	<form action="{{ clickheat_path }}index.php" method="get" onsubmit="return false;" id="clickForm">
	<table cellpadding="0" cellspacing="1" border="0" width="100%">
	<tr>
		<th>{{ 'ClickHeat_LANG_GROUP' | translate }}</th>
		<td><select name="group" id="formGroup" onchange="hideGroupLayout(); loadIframe();">{{ clickheat_groups | raw }}</select> <a href="#" onclick="showGroupLayout(); return false;"><img src="{{ clickheat_path }}images/layout.png" width="16" height="16" align="absmiddle" alt="Layout" /></a><a href="#" onclick="updateHeatmap(); return false;"><img src="{{ clickheat_path }}images/reload.png" width="16" height="16" align="absmiddle" alt="Refresh" /></a></td>
		<th>{{ 'ClickHeat_LANG_BROWSER' | translate }}</th>
		<td><select name="browser" id="formBrowser" onchange="updateHeatmap();">{{ clickheat_browsers | raw }}</select></td>
		<td rowspan="2">{{ clickheat_menu  | raw }}</td>
	</tr>
	<tr>
		<th>{{ 'ClickHeat_LANG_HEATMAP' | translate }}</th><td><input type="checkbox" id="formHeatmap" name="heatmap"{{ clickheat_force_heatmap }} onchange="updateHeatmap();" /><span id="alphaSelector"></span></td>
		<th>{{ 'ClickHeat_LANG_SCREENSIZE' | translate }}</th><td><select name="screen" id="formScreen" onchange="resizeDiv(); updateHeatmap();">{{ clickheat_screens | raw }}</select></td>
	</tr>
	</table>
	</form>
</div>
<div id="divPanel" onmouseover="showPanel();" onclick="hidePanel();"><img src="{{ clickheat_path }}images/arrow-up.png" width="11" height="6" alt="" /></div>
<div id="layoutDiv"></div>
<div id="overflowDiv">
	<div id="pngDiv"></div>
	<p><iframe src="{{ clickheat_path }}clickempty.html" id="webPageFrame" onload="window.setTimeout('cleanIframe();', 2000);" frameborder="0" scrolling="no" width="50" height="0"></iframe></p>
</div>
<script type="text/javascript">
pleaseWait = '{{ clickheat_loading }}';
cleanerRunning = '{{ clickheat_cleaner }}';
isJsOkay = '<a href="#" onclick="showJsCode(); return false;">{{ clickheat_jsokay }}</a>';
jsAdminCookie = '{{ clickheat_admincookie }}';
hideIframes = {{ clickheat_iframes }};
hideFlashes = {{ clickheat_flashes }};
isPiwikModule = true;
scriptPath = '{{ clickheat_host }}{{ clickheat_path }}';
scriptIndexPath = '{{ clickheat_index | raw }}';
currentDate = [{{ clickheat_day }}, {{ clickheat_month }}, {{ clickheat_year }}, {{ clickheat_day }}, {{ clickheat_month }}, {{ clickheat_year }}];
currentRange = '{{ clickheat_range }}';
currentAlpha = {{ clickheat_alpha }};
weekDays = new Array();

/** Draw the alpha selector */
drawAlphaSelector('alphaSelector', 30);

/** Resize the main div */
resizeDiv();

/** Load iframe (which will load the heatmap once the info is okay) */
loadIframe();

/** Run cleaner */
runCleaner();

updateHeatmap();
</script>
